]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/screenshot: Remove unnecessary NULL check
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 24 Mar 2020 06:10:27 +0000 (07:10 +0100)
committerCarlos Garnacho <mrgarnacho@gmail.com>
Tue, 24 Mar 2020 11:29:53 +0000 (11:29 +0000)
commit1bccbe7f11c0523c375b2404e2d489e8bfc044a2
treef1baa9ae0a77f32978d610f73f8aa8a83aad22c4
parentb4162afa65382ebe6451bcfea7d9e8173b12f726
shell/screenshot: Remove unnecessary NULL check

Since commit be5f5ec9d40, the output stream is created externally and
expected to be non-NULL, so the check is now pointless (in particular
*after* calling g_object_ref() on the stream).

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1123
src/shell-screenshot.c